from selenium import webdriver
from homework.liumengdan.Days_practice.Auto.baidu_ddt.test_case.options import options
url = r'https://www.baidu.com/'
dr = webdriver.Chrome(options=options)
dr.get(url)
dr.get_screenshot_as_file(r'D:\python_project\homework\liumengdan\Days_practice\Auto\ddt\baidu_ddt'
                          r'\baidu.png')
